package com;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;
public class Interceptor2 extends AbstractInterceptor {
    //拦截方法
	@Override
	public String intercept(ActionInvocation arg0) throws Exception {
		System.out.println("interceptor-2() is called!");
		String result = arg0.invoke();
		return result;
	}
}
